package com.lin.springcloud.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.lin.springcloud.entities.CommonResult;

/**
 * @author Created by Lin Weihong
 * @date on 2022/5/21 15:34
 */
public class CustomerBlockHandler {
    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(4444, "接收客户自定义,global handlerException------1");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(4444, "接收客户自定义,global handlerException------2");
    }
}
